@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './font.scss';
@import './effect.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font: 12px Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

p {
  margin: 0;
}

.el-dialog__body {
  padding: 20px 20px;
  color: #606266;
  font-size: 14px;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app{
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus{
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.warn-content{
  background: rgba(66,185,131,.1);
  border-radius: 2px;
  padding: 16px;
  padding: 1rem;
  line-height: 1.6rem;
  word-spacing: .05rem;
  a{
    color: #42b983;
    font-weight: 600;
  }
}

//main-container全局样式
.app-main{
  min-height: 100%;
  .app-container {
    padding: 30px;
  }
}

.head-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
  input {
    height: 30.5px;
    line-height: 30.5px;
  }
  .el-input__icon {
    line-height: 26px;
  }
  .el-input--suffix, .el-select {
    float: left;
    margin-right: 5px;
  }
  .el-input--suffix input {
    height: 30.5px !important;
    line-height: 30.5px;
  }
  .el-date-editor--daterange {
    height: 30.5px;
    line-height: 30.5px;
  }
  .el-range-separator {
    height: 30.5px;
    line-height: 20.5px;
    float: left;
  }
  .el-range-editor .el-range-input {
    height: 22px;
    float: left;
  }
}

.el-date-editor--daterange {
  height: 30px;
}

.el-range-editor .el-range__icon {
  line-height: 10px !important;
}
.el-range-editor .el-range-input, .el-range-editor .el-range-separator {
  float: left;
  height: 26px !important;
  margin-top: -1px;
  line-height: 25px;
}
.el-avatar {
  display: inline-block;
  text-align: center;
  background: #ccc;
  color: #fff;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 16px;
}

.fl {
  float: left;
}
.fr {
  float: right
}
.gray {
  color: #808080
}
.bold {
  font-weight: 700;
  color: #333;
}

.mini-image-upload {
  width: 88px !important;
  height: 88px !important;
  line-height: 88px !important;
}

.min-image-upload {
  width: 108px !important;
  height: 108px !important;
  line-height: 108px !important;
}

.middle-image-upload {
  width: 138px !important;
  height: 138px !important;
  line-height: 138px !important;
}

.shipin-video {
  max-width: 300px;
}

.cb-border {
  overflow:hidden;
  border: 1px solid #e1dfdf;
  border-radius: 5px;
  padding: 3px 10px;
}

.empty-10 {
  width:100%;
  height:10px;
}

.empty-5 {
  width:100%;
  height:5px;
}

.margin-l30 {
  margin-left: 30px;
}
.margin-l10 {
  margin-left: 10px;
}
.margin-t10 {
  margin-top: 10px;
}
.el-button-mini-2-5 {
  padding: 2px 5px !important;
}
.el-button-mini-5-12 {
  padding: 5px 12px !important;
}
.cancel-btn {
  background: #e1b544;
  border: #e1b544;
}
.radio-18 .el-radio__inner {
  width: 18px !important;
  height: 18px !important;
}
.radio-18 .el-radio__inner::after {
  width: 5px !important;
  height: 5px !important;
}
.pd20-10 {
  padding: 20px 10px;
}

.user-box {
  margin-top: 15px;
  border-top: 2px solid #4392bc;
  border-bottom: 1px solid rgba(67,146,188,.4);
  border-radius: 4px;
  margin-bottom: 30px;
  .tit {
    height: 38px;
    line-height: 38px;
    font-size: 16px;
    color: #200;
    text-indent: 10px;
  }
}

.input-group .input-group-box {
  flex: 1;
  display: flex;
  align-items: center;
}

.custom-table {
  .el-table {
    width: 800px;
    margin-left: 100px;
    td {
      padding: 6px 0 !important;
    }
    th {
      padding: 6px 0 !important;
      background: #eef1f6 !important;
    }
  }
  .bg {
    background: #eef1f6 !important;
    color: #555;
  }
}

.top-box {
  background: linear-gradient(90deg, #4facd1, #25779b, #335c97 100%, #2178f1 0);
  height: 40px;
  text-align: right;
  line-height: 40px;
  padding: 0 50px;
}

.topnav_box::-webkit-scrollbar { //滚动条整体部分
  width: 5px;  
  height:10px;     
  background-color:#b5b1b1;
}  
.topnav_box::-webkit-scrollbar-track { //scroll轨道背景
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 10px;
  background-color:aliceblue;
}
.topnav_box::-webkit-scrollbar-thumb { //滚动条中能上下移动的小块
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color:#b5b1b1;
}

.div-inline {
  display: inline;
  margin-right: 3px;
}
.tips {
  font-size: 12px;
  color: red;
  margin-bottom: 20px;
}
